@extends('web.frame_layout')
<?php $parent_menu = "购物商城"; $menu_selected = "购物中心";?>
<link rel="stylesheet" href="{{asset('/web/css/shopping-hall.css')}}">
@section('content')
    <div class="m-right-nr">
        <div>
            <h2><span>购物大厅</span></h2>
        </div>
        <div class="row goods-box">
            @if(!empty($products))
                @foreach($products as $product)
                    <div class="col-md-3 col-lg-2 col-sm-3 col-xs-6">
                        <div>
                            <a href="{{route('web.product_detail',['id'=>$product->id])}}"> <img
                                        src="{{asset($product->img)}}" alt=""></a>
                            <h3>{{ $product->title }}</h3>
                            <p><span>￥{{$product->p1}}</span><s>￥{{$product->p2}}</s></p>
                        </div>
                    </div>
                @endforeach
            @endif
        </div>
        <div class="page">
            @include("web.coms.fenye")
        </div>
    </div>
@endsection

@section('footer')
@endsection